package richbar.com.richbar.bean;

import com.common.base.BaseResult;
import com.common.util.StringUtil;

import java.io.Serializable;

/**
 * Created by QiYang on 2018/11/30.
 */

public class UserInfoResult extends BaseResult{

    /**
     * code : 200
     * msg : 请求成功
     * data : {"info":{"uid":6,"head":"http://fuba.sybyt.cn/","nickname":null,"account":"18640182465","sex":0,"birth":null,"lvl":1,"lvlName":"普通会员","balance":"0.00","isauth":1,"isseller":1,"score":0,"coupon":0}}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity implements Serializable{
        /**
         * info : {"uid":6,"head":"http://fuba.sybyt.cn/","nickname":null,"account":"18640182465","sex":0,"birth":null,"lvl":1,"lvlName":"普通会员","balance":"0.00","isauth":1,"isseller":1,"score":0,"coupon":0}
         */

        private InfoEntity info;

        public InfoEntity getInfo() {
            return info;
        }

        public void setInfo(InfoEntity info) {
            this.info = info;
        }

        public static class InfoEntity implements Serializable{
            /**
             * uid : 6
             * head : http://fuba.sybyt.cn/
             * nickname : null
             * account : 18640182465
             * sex : 0
             * birth : null
             * lvl : 1
             * lvlName : 普通会员
             * balance : 0.00
             * isauth : 1
             * isseller : 1
             * score : 0
             * coupon : 0
             */

            private int uid;
            private String head;
            private String username;
            private String nickname;
            private String account;
            private int sex;
            private String birth;
            private int lvl;
            private String lvlName;
            private String balance;
            private String tobebalance;
            private int isauth;
            private int isseller;
            private int score;
            private int coupon;
            private String qrcode;
            private String setpaypwd;

            public String getSetpaypwd() {
                return setpaypwd;
            }

            public void setSetpaypwd(String setpaypwd) {
                this.setpaypwd = setpaypwd;
            }

            public String getQrcode() {
                return qrcode;
            }

            public void setQrcode(String qrcode) {
                this.qrcode = qrcode;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getTobebalance() {
                return tobebalance;
            }

            public void setTobebalance(String tobebalance) {
                this.tobebalance = tobebalance;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getBirth() {
                return birth;
            }

            public void setBirth(String birth) {
                this.birth = birth;
            }

            public int getLvl() {
                return lvl;
            }

            public void setLvl(int lvl) {
                this.lvl = lvl;
            }

            public String getLvlName() {
                return lvlName;
            }

            public void setLvlName(String lvlName) {
                this.lvlName = lvlName;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public int getIsauth() {
                return isauth;
            }

            public void setIsauth(int isauth) {
                this.isauth = isauth;
            }

            public int getIsseller() {
                return isseller;
            }

            public void setIsseller(int isseller) {
                this.isseller = isseller;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public int getCoupon() {
                return coupon;
            }

            public void setCoupon(int coupon) {
                this.coupon = coupon;
            }
        }
    }
}
